import VueRouter from 'vue-router';
import borrow from './main/borrow.vue';
import dashboard from './main/dashboard.vue';
import recommend from './main/recommend.vue';
import donation from './main/donation.vue';

let router = new VueRouter({
	routes: [
		{
			path: '/',
			redirect: '/dashboard'
		},
		{
			path: '/dashboard',
			component: dashboard,
		},
		{
			path: '/borrow',
			component: borrow
		},
		{
			path: '/recommend',
			component: recommend
		},
		{
			path: '/donation',
			component: donation
		}
	]
});

export default router;
